<div class="users form">
<h3>User Account Information</h3>
<?php echo $this->Form->create('User');?>
	<fieldset>
	<?php
		if (isset($this->data['Application'])) {
			echo '<div class="input"><label>Full Name: </label><span class="response">';
			echo $this->data['Application']['firstname'] . ' '. $this->data['Application']['lastname'];
			echo '</span></div>';
		}
		echo $this->Form->input('id');
		echo $this->Form->hidden('username');
	?>
	<div class="input">
		<label> Account Username: </label><span class="response">
						<?php echo $this->data['User']['username'];?></span>
	</div>
	<?php
		echo $this->Form->input('email');

		echo '<p> Change Password</p>';
		echo '<div class="input">';
		echo $this->Form->label('Change password');
		echo $this->Form->checkbox('passwd', array('hiddenField' => false));
		echo '</div>';
		echo $this->Form->input('new_password', array('type' => 'password'));
		echo $this->Form->input('confirm_password', array('type' => 'password'));
	?>
	</fieldset>
<?php echo $this->Form->end(__('Submit', true));?>
</div>